package com.zoweunion.mechanic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zoweunion.mechanic.entity.TSSsWarehouseRegionEntity;
import com.zoweunion.mechanic.entity.vo.TSSsWarehouseRegionVO;

import java.util.List;
import java.util.Map;


/**
 * 仓库辐射区域表
 *
 * @author wxx
 * @date 2023-04-17 17:59:10
 */
public interface ITSSsWarehouseRegionService extends IService<TSSsWarehouseRegionEntity> {


    /**
     * 根据条件获取仓库辐射区域表 -- 列表页
     *
     * @return
     */
    PageInfo<TSSsWarehouseRegionVO> listPage(Map<String, Object> map);


    /**
     * 为用户添加管辖区域
     * @param provinceList
     * @param userId
     * @param sId
     * @return
     */
    boolean addWarehouseRegion(List<Map<String, Object>> provinceList, String staffId, String sId, String userId);


//    List<TSSsWarehouseRegionExcel> listExport(Map<String, Object> params) throws InvocationTargetException, IllegalAccessException;


}


